home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 42 / Amiga Format AFCD42 (Issue 126, Aug 1999).iso / -serious- / programming / other / jikes / src / config.cpp < prev    next >
C/C++ Source or Header  |  1999-05-14  |  22KB  |  406 lines

  1. // $Id: config.cpp,v 1.8 1999/03/09 14:37:15 shields Exp $
  2. //
  3. // This software is subject to the terms of the IBM Jikes Compiler
  4. // License Agreement available at the following URL:
  5. // http://www.ibm.com/research/jikes.
  6. // Copyright (C) 1996, 1998, International Business Machines Corporation
  7. // and others.  All Rights Reserved.
  8. // You must accept the terms of that agreement to use this software.
  9. //
  10. #include "config.h"
  11.  
  12. wchar_t StringConstant::US_AND[]                        = {U_AM, U_NU}, // "&"
  13.         StringConstant::US_AND_AND[]                    = {U_AM, U_AM, U_NU}, // "&&"
  14.         StringConstant::US_AND_EQUAL[]                  = {U_AM, U_EQ, U_NU}, // "&="
  15.         StringConstant::US_COLON[]                      = {U_CO, U_NU}, // ":"
  16.         StringConstant::US_COMMA[]                      = {U_CM, U_NU}, // ","
  17.         StringConstant::US_DIVIDE[]                     = {U_SL, U_NU}, // "/"
  18.         StringConstant::US_DIVIDE_EQUAL[]               = {U_SL, U_EQ, U_NU}, // "/="
  19.         StringConstant::US_DOT[]                        = {U_DO, U_NU}, // "."
  20.         StringConstant::US_EMPTY[]                      = {U_NU}, // ""
  21.         StringConstant::US_EQUAL[]                      = {U_EQ, U_NU}, // "="
  22.         StringConstant::US_EQUAL_EQUAL[]                = {U_EQ, U_EQ, U_NU}, // "=="
  23.         StringConstant::US_GREATER[]                    = {U_GT, U_NU}, // ">"
  24.         StringConstant::US_GREATER_EQUAL[]              = {U_GT, U_EQ, U_NU}, // ">="
  25.         StringConstant::US_LBRACE[]                     = {U_OS, U_NU}, // "{"
  26.         StringConstant::US_LBRACKET[]                   = {U_LB, U_NU}, // "["
  27.         StringConstant::US_LEFT_SHIFT[]                 = {U_LT, U_LT, U_NU}, // "<<"
  28.         StringConstant::US_LEFT_SHIFT_EQUAL[]           = {U_LT, U_LT, U_EQ, U_NU}, // "<<="
  29.         StringConstant::US_LESS[]                       = {U_LT, U_NU}, // "<"
  30.         StringConstant::US_LESS_EQUAL[]                 = {U_LT, U_EQ, U_NU}, // "<="
  31.         StringConstant::US_LPAREN[]                     = {U_LP, U_NU}, // "("
  32.         StringConstant::US_MINUS[]                      = {U_MI, U_NU}, // "-"
  33.         StringConstant::US_MINUS_EQUAL[]                = {U_MI, U_EQ, U_NU}, // "-="
  34.         StringConstant::US_MINUS_MINUS[]                = {U_MI, U_MI, U_NU}, // "--"
  35.         StringConstant::US_MULTIPLY[]                   = {U_ST, U_NU}, // "*"
  36.         StringConstant::US_MULTIPLY_EQUAL[]             = {U_ST, U_EQ, U_NU}, // "*="
  37.         StringConstant::US_NOT[]                        = {U_EX, U_NU}, // "!"
  38.         StringConstant::US_NOT_EQUAL[]                  = {U_EX, U_EQ, U_NU}, // "!="
  39.         StringConstant::US_OR[]                         = {U_BA, U_NU}, // "|"
  40.         StringConstant::US_OR_EQUAL[]                   = {U_BA, U_EQ, U_NU}, // "|="
  41.         StringConstant::US_OR_OR[]                      = {U_BA, U_BA, U_NU}, // "||"
  42.         StringConstant::US_PLUS[]                       = {U_PL, U_NU}, // "+"
  43.         StringConstant::US_PLUS_EQUAL[]                 = {U_PL, U_EQ, U_NU}, // "+="
  44.         StringConstant::US_PLUS_PLUS[]                  = {U_PL, U_PL, U_NU}, // "++"
  45.         StringConstant::US_QUESTION[]                   = {U_QU, U_NU}, // "?"
  46.         StringConstant::US_RBRACE[]                     = {U_CS, U_NU}, // "}"
  47.         StringConstant::US_RBRACKET[]                   = {U_RB, U_NU}, // "]"
  48.         StringConstant::US_REMAINDER[]                  = {U_PE, U_NU}, // "%"
  49.         StringConstant::US_REMAINDER_EQUAL[]            = {U_PE, U_EQ, U_NU}, // "%="
  50.         StringConstant::US_RIGHT_SHIFT[]                = {U_GT, U_GT, U_NU}, // ">>"
  51.         StringConstant::US_RIGHT_SHIFT_EQUAL[]          = {U_GT, U_GT, U_EQ, U_NU}, // ">>="
  52.         StringConstant::US_RPAREN[]                     = {U_RP, U_NU}, // ")"
  53.         StringConstant::US_SEMICOLON[]                  = {U_SC, U_NU}, // ";"
  54.         StringConstant::US_TWIDDLE[]                    = {U_TI, U_NU}, // "~"
  55.         StringConstant::US_UNSIGNED_RIGHT_SHIFT[]       = {U_GT, U_GT, U_GT, U_NU}, // ">>>"
  56.         StringConstant::US_UNSIGNED_RIGHT_SHIFT_EQUAL[] = {U_GT, U_GT, U_GT, U_EQ, U_NU}, // ">>>="
  57.         StringConstant::US_XOR[]                        = {U_CA, U_NU}, // "^"
  58.         StringConstant::US_XOR_EQUAL[]                  = {U_CA, U_EQ, U_NU}, // "^="
  59.  
  60.         StringConstant::US_Boolean[] = {U_B, U_o, U_o, U_l, U_e, U_a, U_n, U_NU}, // "Boolean"
  61.         StringConstant::US_Byte[] = {U_B, U_y, U_t, U_e, U_NU}, // "Byte"
  62.         StringConstant::US_Character[] = {U_C, U_h, U_a, U_r, U_a, U_c, U_t, U_e, U_r, U_NU}, // "Character"
  63.         StringConstant::US_Class[] = {U_C, U_l, U_a, U_s, U_s, U_NU}, // "Class"
  64.         StringConstant::US_Cloneable[] = {U_C, U_l, U_o, U_n, U_e, U_a, U_b, U_l, U_e, U_NU}, // "Cloneable"
  65.         StringConstant::US_Double[] = {U_D, U_o, U_u, U_b, U_l, U_e, U_NU}, // "Double"
  66.         StringConstant::US_Error[] = {U_E, U_r, U_r, U_o, U_r, U_NU}, // "Error"
  67.         StringConstant::US_Float[] = {U_F, U_l, U_o, U_a, U_t, U_NU},  // "Float"
  68.         StringConstant::US_Integer[] = {U_I, U_n, U_t, U_e, U_g, U_e, U_r, U_NU}, // "Integer"
  69.         StringConstant::US_L[] = {U_L, U_NU}, // "L"
  70.         StringConstant::US_Long[]  = {U_L, U_o, U_n, U_g, U_NU}, // "Long"
  71.         StringConstant::US_Object[] = {U_O, U_b, U_j, U_e, U_c, U_t, U_NU}, // "Object"
  72.         StringConstant::US_PObject[] = {U_P, U_O, U_b, U_j, U_e, U_c, U_t, U_NU}, // "PObject"
  73.         StringConstant::US_RuntimeException[] = {U_R, U_u, U_n, U_t, U_i, U_m, U_e, U_E, U_x, U_c, U_e, U_p, U_t, U_i, U_o, U_n, U_NU}, // RuntimeException
  74.         StringConstant::US_Serializable[] = {U_S, U_e, U_r, U_i, U_a, U_l, U_i, U_z, U_a, U_b, U_l, U_e, U_NU}, // Serializable
  75.         StringConstant::US_Short[] = {U_S, U_h, U_o, U_r, U_t, U_NU}, // Short
  76.         StringConstant::US_StringBuffer[] = {U_S, U_t, U_r, U_i, U_n, U_g, U_B, U_u, U_f, U_f, U_e, U_r, U_NU}, // StringBuffer
  77.         StringConstant::US_String[] = {U_S, U_t, U_r, U_i, U_n, U_g, U_NU}, // String
  78.         StringConstant::US_TYPE[] = {U_T, U_Y, U_P, U_E, U_NU}, // "TYPE"
  79.         StringConstant::US_forName[] = {U_f, U_o, U_r, U_N, U_a, U_m, U_e, U_NU}, // "forName"
  80.         StringConstant::US_Throwable[] = {U_T, U_h, U_r, U_o, U_w, U_a, U_b, U_l, U_e, U_NU}, // Throwable
  81.         StringConstant::US_Void[] = {U_V, U_o, U_i, U_d, U_NU}, // Void
  82.         StringConstant::US__DO_[] = {U_DO, U_NU}, // "."
  83.         StringConstant::US__DO__DO_[] = {U_DO, U_DO, U_NU}, // ".."
  84.         StringConstant::US__DS_[] = {U_DS, U_NU}, // "$"
  85.         StringConstant::US__LB__RB_[] = {U_LB, U_RB, U_NU}, // "[]"
  86.         StringConstant::US__LT_clinit_GT_[] = {U_LT, U_c, U_l, U_i, U_n, U_i, U_t, U_GT, U_NU}, // "<clinit>"
  87.         StringConstant::US__LT_init_GT_[] = {U_LT, U_i, U_n, U_i, U_t, U_GT, U_NU}, // "<init>"
  88.         StringConstant::US__QU__QU_[] = {U_QU, U_QU, U_NU},  // "??"
  89.         StringConstant::US__SC_[] = {U_SC, U_NU}, // ";"
  90.         StringConstant::US__SL_[] = {U_SL, U_NU}, // "/"
  91.  
  92.         StringConstant::US__array[] = {U_a, U_r, U_r, U_a, U_y, U_NU}, // "array"
  93.         StringConstant::US__access_DOLLAR[] = {U_a, U_c, U_c, U_e, U_s, U_s, U_DS, U_NU}, // "access$"
  94.         StringConstant::US__class_DOLLAR[] = {U_c, U_l, U_a, U_s, U_s, U_DS, U_NU}, // "class$"
  95.         StringConstant::US__constructor_DOLLAR[] = {U_c, U_o, U_n, U_s, U_t, U_r, U_u, U_c, U_t, U_o, U_r, U_DS, U_NU}, // "constructor$"
  96.         StringConstant::US__this_DOLLAR[] = {U_t, U_h, U_i, U_s, U_DS, U_NU}, // "this$"
  97.         StringConstant::US__val_DOLLAR[] = {U_v, U_a, U_l, U_DS, U_NU}, // "val$"
  98.  
  99.         StringConstant::US_abstract[] = {U_a, U_b, U_s, U_t, U_r, U_a, U_c, U_t, U_NU}, // "abstract"
  100.         StringConstant::US_block_DOLLAR[] = {U_b, U_l, U_o, U_c, U_k, U_DS, U_NU}, // "block$"
  101.         StringConstant::US_boolean[] = {U_b, U_o, U_o, U_l, U_e, U_a, U_n, U_NU}, // "boolean"
  102.         StringConstant::US_break[] = {U_b, U_r, U_e, U_a, U_k, U_NU}, // "break"
  103.         StringConstant::US_byte[] = {U_b, U_y, U_t, U_e, U_NU}, // "byte"
  104.         StringConstant::US_case[] = {U_c, U_a, U_s, U_e, U_NU}, // "case"
  105.         StringConstant::US_catch[] = {U_c, U_a, U_t, U_c, U_h, U_NU}, /